// dlg.txt

begintalkscript;

variables;

begintalknode 1;
	state = -1;
	nextstate = -1;
	condition = get_sdf(81,1) == 0;
	question = "special";
	text1 = "You step out of this door, expecting to enter the cool, damp weather of the Mera-Tev. Instead, you receive a blistering blast of ice and snow. With shivering fingers, you get out and don your cold weather clothes.";
	text2 = "If you still needed more evidence of powerful, out of control enchantments in this complex, here it is. Through the snow, you can make out shattered stone buildings. To the north, you can see the water.";
	text3 = "No doubt, if you boarded a boat and sailed away from this island, you would soon return to normal weather. But you are trapped here, stuck on this island with the source of these powerful enchantments.";
	text4 = "For the first time in a while, you feel like you might be overmatched by your foes.";
	action = SET_SDF 81 1 1;

begintalknode 2;
	state = -1;
	nextstate = -1;
	condition = get_sdf(81,2) == 0;
	question = "special";
	text1 = "You get close enough to see a large, granite dome, perched on the southwest corner of the isle. Down here, the air is colder and the snow is thicker. The wind threatens to knock you off your feet.";
	text2 = "As you try to see what is in the dome from a safe distance, you hear a voice coming from inside. It seems calm and conversational, but it cuts through the distance and the wind without weakening.";
	text3 = "It is a male voice. He says, _So, someone finally visits the realm of Sammann. This complex is mine. This isle is mine. I am going to send a few pets to encourage you to leave._";
	action = SET_SDF 81 2 1;

begintalknode 3;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "__";

begintalknode 4;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "__";

begintalknode 5;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "With great horror, you realize that there are things writhing around inside this huge rotghroth. Its vile form is serving as a host for vicious, toothy worms.";
	text2 = "Your blows leave a hole in the creature's side. One of the worms slithers out, hungry for prey. It's hideous.";

begintalknode 6;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "The rotghroth finally collapses. A cloud of vile gas pours out of the wounds in its body, making you horribly ill. The remaining worms burst out, looking for a new host.";
	
begintalknode 7;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "__";

begintalknode 8;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "__";


begintalknode 10;
	state = -1;
	nextstate = 10;
	condition = 1;
	question = "Name";
	text1 = "At last, you confront the master of this complex. He is a rebel Lifecrafter, in long, ornate robes. He is at least in his fifties, and he has not been shaving regularly. His clothes are torn and filthy. His skin has a green tinge.";
	text2 = "His dome is where much of the Shaping in this complex has been done. There is lots of powerful equipment. In addition, you see two glowing pylons, each sitting in its own magic circle.";
	text3 = "The man examines you. You can easily see the madness in his eyes. He laughs, a long, shrill sound. _You? You are the best they can send to challenge me? You will serve to test my defenses. Nothing more._";


begintalknode 11;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Who are you?";
	text1 = "_I am Sammann! Sammann remade!_ You note the many used Shaping canisters in the room. It's easy to tell what he means when he says 'remade.' _Sammann the ignored. Sammann the insulted._";
	text2 = "_And now I am Sammann triumphant. This is my kingdom, and now none will take it from me. The petty fools who tried are dead. Soon you will be too._";

begintalknode 12;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Who do you think sent me?";
	text1 = "_The jealous fools who are obsessed with me. The Shapers who won't share their power. The rebels who want revenge. They all hate Sammann. They will all send assassins to get me!_";
	text2 = "_You are the first. But I am not afraid. I will kill you all._";

begintalknode 13;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "You are mad.";
	text1 = "_Mad? Mad, you say? They said I was mad when I first altered myself. When I began my experiments. When I challenged the shortsighted fools who wouldn't use this place for its full potential!_";
	text2 = "_But I showed them! I showed them all! And now I will show you! I swore none would ever call me mad again! Now you will be punished!_";
	action = END_TALK;

begintalknode 14;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "Sorry. I didn't mean to disturb you. I'll be going now.";
	text1 = "_Oh, no. After the damage you have done ... I need resources to repair it. I will take them from you. And you are a spy. You will tell them all about me._";
	text2 = "_You have to die. You must see that it can be no other way._";
	action = END_TALK;

begintalknode 15;
	state = 10;
	nextstate = -1;
	condition = 1;
	question = "You are a rogue Lifecrafter. You have to be put down before you do anything dangerous.";
	text1 = "_I have heard that before! That is what they said when I first altered myself. When I began my experiments. When I challenged the shortsighted fools who wouldn't use this place for its full potential!_";
	text2 = "_And now you think you can decide whether I live or die? They couldn't stop me. You can't either! Nobody can stop me!_";
	action = END_TALK;

begintalknode 20;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "Sammann is starting to weaken under the force of your blows. He gasps, _Now I must draw power. I hate to do this. It hurts._ He throws his arms wide and mutters a spell._";	
	text2 = "A gap opens in the clouds above the island. A shaft of sunlight pierces the mist and strikes Sammann. As you watch in horror, his wounds begin to regenerate.";
	text3 = "_Amazing, no? This is true power. I used essence to Shape plant material in my flesh. The sort of bold Shaping even rebels are scared to do. Now you see what a fool you are to challenge me!_";
	
begintalknode 21;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "Sammann looks angry. _Why do you even bother to strike me? You know that, in the end, you are doomed! Now I must draw power from my pylons._";
	text2 = "He mutters a spell, and energy begins to flow from the pylons into him, regenerating his flesh. _We are linked. I share essential qualities with the creatures inside the pylons. True attunement!_";
	text3 = "_This is only a fraction of my research here. When I emerge, even the Council will be in awe of me!_";

begintalknode 22;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "At last, Sammann collapses. His seemingly endless magical tricks were not enough to save him.";
	text2 = "_No,_ he gasps. _Too late, I see the error of my ways. I forgot the virtues of humility, of self-control. If only I could survive, I would go out into the world and serve as an example, to teach people to avoid my mistakes, to ... Ack!_";
	text3 = "And then, in the middle of his final moment of clarity and remorse, he dies. Within moments, it feels like the island is a bit warmer. It will take some time, but Sammann's enchantments will eventually fade.";
	text4 = "You stumble away, exhausted. If there is a mightier foe waiting somewhere in Terrestia, you hope that your paths don't cross any time soon.";
	
begintalknode 23;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "__";	

begintalknode 24;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "__";	

begintalknode 25;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "__";	

begintalknode 26;
	state = -1;
	nextstate = -1;
	condition = 1;
	question = "special";
	text1 = "__";	



//

begintalknode 30;
	state = -1;
	nextstate = 30;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode 31;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 32;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 33;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 34;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 35;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 36;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 37;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 38;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 39;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 40;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 41;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 42;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 43;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 44;
	state = 30;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
//

begintalknode 50;
	state = -1;
	nextstate = 50;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode 51;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

	
begintalknode 52;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 53;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 54;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 55;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 56;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 57;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
	
begintalknode 58;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 59;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 60;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 61;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 62;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 63;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

begintalknode 64;
	state = 50;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

//

begintalknode 70;
	state = -1;
	nextstate = 70;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode 71;
	state = 70;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";

//

begintalknode 90;
	state = -1;
	nextstate = 90;
	condition = 1;
	question = "Name";
	text1 = ".";
	text2 = "";
	text5 = ".";
	action = INTRO;

begintalknode 91;
	state = 90;
	nextstate = -1;
	condition = 1;
	question = "";
	text1 = ".";
	text2 = "";
		